package org.jeecg.modules.scm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: scm_cloud_chain_transfer_contract
 * @Author: jeecg-boot
 * @Date:   2021-11-09
 * @Version: V1.0
 */
@Data
@TableName("scm_cloud_chain_transfer_contract")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="云链单转让合同对象", description="scm_cloud_chain_transfer_contract")
public class ScmCloudChainTransferContract implements Serializable {
    private static final long serialVersionUID = 1L;

	/**云链单转让合同表id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "云链单转让合同表id")
    private String id;
	/**应收账款转让合同编号*/
	@Excel(name = "应收账款转让合同编号", width = 15)
    @ApiModelProperty(value = "应收账款转让合同编号")
    private String transferContractId;
	/**数字债权凭证编号*/
	@Excel(name = "数字债权凭证编号", width = 15)
    @ApiModelProperty(value = "数字债权凭证编号")
    private String chainNo;
	/**建立日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "建立日期")
    private Date createTime;
	/**建立用户*/
    @ApiModelProperty(value = "建立用户")
    private String createBy;
	/**最后修改日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "最后修改日期")
    private Date updateTime;
	/**最后修改用户*/
    @ApiModelProperty(value = "最后修改用户")
    private String updateBy;
}
